Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLIFrameElement

Extends HTMLElement.

The iframe element represents a nested browsing context.

Properties
boolean
allowFullscreen
The allowFullscreen IDL attribute must reflect the allowfullscreen content attribute.
Document?
contentDocument
The contentDocument IDL attribute must return the Document object of the active document of the iframe element's nested browsing context, if any and if its effective script origin is the same origin as the effective script origin specified by the incumbent settings object, or null otherwise.
WindowProxy?
contentWindow
The contentWindow IDL attribute must return the WindowProxy object of the iframe element's nested browsing context, if any, or null otherwise.
DOMString
height
The width and height IDL attributes on the iframe, embed, object, and video elements must reflect the respective content attributes of the same name.
DOMString
name
The IDL attributes src, srcdoc, name, sandbox, and seamless must reflect the respective content attributes of the same name.
DOMSettableTokenList
sandbox
The IDL attributes src, srcdoc, name, sandbox, and seamless must reflect the respective content attributes of the same name.
boolean
seamless
The IDL attributes src, srcdoc, name, sandbox, and seamless must reflect the respective content attributes of the same name.
DOMString
src
The IDL attributes src, srcdoc, name, sandbox, and seamless must reflect the respective content attributes of the same name.
DOMString
srcdoc
The IDL attributes src, srcdoc, name, sandbox, and seamless must reflect the respective content attributes of the same name.
DOMString
width
The width and height IDL attributes on the iframe, embed, object, and video elements must reflect the respective content attributes of the same name.